package com.cms.admin.service.common;

import com.cms.admin.model.AdvertisementList;
import com.cms.admin.model.AdvertisementListData;
import com.cms.admin.model.AdvertisementListExt;
import com.cms.admin.model.PageBean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by YYY-Work on 2017/5/4.
 */
public interface AdvertisementListService {

    List<AdvertisementList> queryAdvertisementList(PageBean page, AdvertisementListExt example);
    int getRowCount(AdvertisementListExt example);
    int addAdvertisement(AdvertisementList example);
    AdvertisementList queryAdvertisementListById(Long advertisementid);
    int modifyAdvertisementList(AdvertisementListExt example);
    
    int addAdvertisement(AdvertisementList example,ArrayList<AdvertisementListData> addAdvertisementListDatas);
    int modifyAdvertisementList(AdvertisementListExt example,ArrayList<AdvertisementListData> addAdvertisementListDatas);
}
